/**
 * 获取默认参数
 * @returns
 */
export const getDefParams = () => ({
  PlatformType: 2,
  MarketType: 2,
  DeviceType: -1,
  LangID: 40,
});

/**
 * 获取时间描述
 * @returns
 */
export const getTimeDesc = (k1: string, k2: string, k3: string) => {
  const h = new Date().getHours();
  if (h >= 6 && h <= 12) return k1;
  if (h > 12 && h <= 18) return k2;
  return k3;
};
